
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.MedicinePrice;

import java.math.BigDecimal;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage MedicinePrice entities.
 * 
 */
public interface MedicinePriceDAO extends JpaDao<MedicinePrice> {

	/**
	 * JPQL Query - findMedicinePriceByPrimaryKey
	 *
	 */
	public MedicinePrice findMedicinePriceByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findMedicinePriceByPrimaryKey
	 *
	 */
	public MedicinePrice findMedicinePriceByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicinePriceByPrice
	 *
	 */
	public Set<MedicinePrice> findMedicinePriceByPrice(java.math.BigDecimal price) throws DataAccessException;

	/**
	 * JPQL Query - findMedicinePriceByPrice
	 *
	 */
	public Set<MedicinePrice> findMedicinePriceByPrice(BigDecimal price, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findMedicinePriceById
	 *
	 */
	public MedicinePrice findMedicinePriceById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findMedicinePriceById
	 *
	 */
	public MedicinePrice findMedicinePriceById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllMedicinePrices
	 *
	 */
	public Set<MedicinePrice> findAllMedicinePrices() throws DataAccessException;

	/**
	 * JPQL Query - findAllMedicinePrices
	 *
	 */
	public Set<MedicinePrice> findAllMedicinePrices(int startResult, int maxRows) throws DataAccessException;

}